package com.simtop.car.pojo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;

import java.util.Date;

/**
 * 信息来源（专利）
 */
@Data
public class Patent extends BaseRowModel {

    @ExcelIgnore
    private Integer patentId;//编号

    @ExcelProperty(index = 0, value = "名称")
    private String name;//名称

    @ExcelProperty(index = 1, value = "摘要")
    private String abstracts;//摘要

    @ExcelProperty(index = 2, value = "发明人")
    private String inventor;//发明人

    @ExcelProperty(index = 3, value = "专利权人")
    private String patentee;//专利权人

    @ExcelProperty(index = 4, value = "专利号")
    private String patentNumber;//专利号

    @ExcelProperty(index = 5, value = "授权日期,日期格式")
    private Date dateOfAuthorization;//授权日期

    @ExcelProperty(index = 6, value = "专利分类号")
    private String patentClassificationNo;//专利分类号

    @ExcelProperty(index = 7, value = "描述")
    private String description;//描述

    @ExcelProperty(index = 8, value = "采集时间,日期格式")
    private Date acquisitionTime;//采集时间

    @ExcelProperty(index = 9, value = "更新时间,日期格式")
    private Date turnoverTime;//更新时间

    @ExcelProperty(index = 10, value = "删除时间,日期格式")
    private Date deleteTime;//删除时间

    @ExcelProperty(index = 11, value = "来源(即专利)")
    private String source;//来源

    @ExcelProperty(index = 12,value ="车企简称" )
    private String carProduct;//汽车品牌

    @ColumnWidth(value = 80)
    @ExcelProperty(index = 13,value ="日期（时间）格式必须设置为yyyy-mm-dd hh:mm:ss" )
    private String dateFormat;//日期格式


    @ExcelIgnore
    private Integer patentSourceId;


    @ExcelIgnore
    private Integer userId;
}
